﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Models;
using DAL;
using System.Data;

namespace BLL
{
    /// <summary>
    /// 操作日志BLL
    /// </summary>
   public class LogBLL
    {
        //操作日志添加
        public static bool LogAddBLL(Log l) {
            return LogDAL.LogAdd(l)>0;
        }
        //操作日志查看
        public static DataTable LogSelectBLL(int id) {
            return LogDAL.LogSelect(id);
        }
        //操作日志删除
        public static bool logDeleteBLL(int id) {
            return LogDAL.logDelete(id)>0;
        }
    }
}
